Skip to content

Run ClawScan commands in a Docker sandbox by default - #4

Closed
Patrick-Erichsen wants to merge 5 commits into
mainfrom
pe/claw-424-docker-sandbox
Closed

Patrick-Erichsen wants to merge 5 commits into
mainfrom
pe/claw-424-docker-sandbox

Conversation

@Patrick-Erichsen

Copy link
Copy Markdown
Collaborator

Summary

  • run command-backed scanners and judge commands through Docker by default, with --sandbox off and --sandbox-image escape hatches
  • add sandbox config support in .clawscan.yml plus secret-safe sandbox artifact metadata
  • add a pinned runtime image, GHCR image workflow, Claude/Codex/scanner CLIs, and a monthly runtime-tool update PR workflow with benchmark-gate docs

Validation

  • go test -count=1 ./...
  • go vet ./...
  • make docs-site
  • node --check scripts/update-runtime-tool-versions.mjs && node scripts/update-runtime-tool-versions.mjs
  • ruby workflow YAML parse for runtime workflows
  • docker build -t clawscan-runtime:candidate docker/clawscan-runtime
  • docker run --rm clawscan-runtime:candidate codex --help
  • docker run --rm clawscan-runtime:candidate claude --help
  • docker run --rm clawscan-runtime:candidate skillspector --help
  • docker run --rm clawscan-runtime:candidate snyk-agent-scan --help
  • docker run --rm clawscan-runtime:candidate socket --help
  • docker run --rm clawscan-runtime:candidate agentverus-scanner --help
  • docker run --rm clawscan-runtime:candidate skill-scanner --help
  • CLAWSCAN_SANDBOX_IMAGE=clawscan-runtime:candidate go run ./cmd/clawscan ./README.md --scanner skillspector --json --output /tmp/clawscan-runtime-candidate-smoke.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant